package com.xiaoniu.mc.hystrix;

/**
 * @类描述：
 * @创建人：林继丰
 * @创建时间：2017/9/21 19:20
 * @版权：Copyright (c) 深圳市牛鼎丰科技有限公司-版权所有.
 */
public class HystrixConfig {

    private String groupKey;
    private String commandKey;
    private String threadPoolKey;
    private String strategy;
    private String timeoutInMilliseconds;
    private String circuitBreakerEnabled;
    private String circuitBreakerRequestVolumeThreshold;
    private String fallBackClass;
    private String fallBackMethod;
    private String coreSize;
    private String maxQueueSize;

    public String getGroupKey() {
        return groupKey;
    }

    public void setGroupKey(String groupKey) {
        this.groupKey = groupKey;
    }

    public String getCommandKey() {
        return commandKey;
    }

    public void setCommandKey(String commandKey) {
        this.commandKey = commandKey;
    }

    public String getThreadPoolKey() {
        return threadPoolKey;
    }

    public void setThreadPoolKey(String threadPoolKey) {
        this.threadPoolKey = threadPoolKey;
    }

    public String getStrategy() {
        return strategy;
    }

    public void setStrategy(String strategy) {
        this.strategy = strategy;
    }

    public String getTimeoutInMilliseconds() {
        return timeoutInMilliseconds;
    }

    public void setTimeoutInMilliseconds(String timeoutInMilliseconds) {
        this.timeoutInMilliseconds = timeoutInMilliseconds;
    }

    public String getCircuitBreakerEnabled() {
        return circuitBreakerEnabled;
    }

    public void setCircuitBreakerEnabled(String circuitBreakerEnabled) {
        this.circuitBreakerEnabled = circuitBreakerEnabled;
    }

    public String getCircuitBreakerRequestVolumeThreshold() {
        return circuitBreakerRequestVolumeThreshold;
    }

    public void setCircuitBreakerRequestVolumeThreshold(String circuitBreakerRequestVolumeThreshold) {
        this.circuitBreakerRequestVolumeThreshold = circuitBreakerRequestVolumeThreshold;
    }

    public String getFallBackClass() {
        return fallBackClass;
    }

    public void setFallBackClass(String fallBackClass) {
        this.fallBackClass = fallBackClass;
    }

    public String getFallBackMethod() {
        return fallBackMethod;
    }

    public void setFallBackMethod(String fallBackMethod) {
        this.fallBackMethod = fallBackMethod;
    }

    public String getCoreSize() {
        return coreSize;
    }

    public void setCoreSize(String coreSize) {
        this.coreSize = coreSize;
    }

    public String getMaxQueueSize() {
        return maxQueueSize;
    }

    public void setMaxQueueSize(String maxQueueSize) {
        this.maxQueueSize = maxQueueSize;
    }
}
